#include<stdio.h>
int main(){
	
	int n;
	scanf("%d",&n);
	int arr[100];
	
	
	for (int i=0;i<n;i++){
		scanf("%d",&arr[i]);
	}
	
	for (int j = 0;j<n-1;j++){
		for (int s=j+1;s<n;s++){
			if (arr[j] < arr[s]){
				int temp = arr[j];
				arr[j] = arr[s];
				arr[s] = temp;
			}
		}
	}
	
	for (int i=0;i<n;i++){
		printf("%d ",arr[i]);
	}

	return 0;
}
